<%@ page language="java"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html:html locale="true">
	  <head>
	  <html:base />
      <title>Application Content Generator Agregado de Grupos</title>
	  <meta http-equiv="Content-Language" content="Spanish" />
	  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	
		<link href="<%=request.getContextPath() %>/style/calendar.css" rel="stylesheet" type="text/css" />  
		<link href="<%=request.getContextPath() %>/style/appcongen.css" rel="stylesheet" type="text/css" />  
		<script src="<%=request.getContextPath() %>/js/calendar.js" type="text/javascript" language="javascript"></script>
		<script src="<%=request.getContextPath() %>/js/calendar-es.js" type="text/javascript" language="javascript"></script>
		<script src="<%=request.getContextPath() %>/js/calendar-setup.js" type="text/javascript" language="javascript"></script>
		<script type="text/javascript" src="<%=request.getContextPath() %>/js/funciones.js" language="javascript"></script>
		
		</head>
	<body>
		<div id="container">
			<%@ include	file="/jsp/includes/common-header-menu.jsp"%>
			<div id="container-content">
				<h4>Nuevo grupo</h4>
					<%-- Crea un formulario HTML --%>
					<html:form action="newsGroupEdit" >	
						<%-- Imprime los datos del formulario --%>			
						<table border="0" cellspacing="1" align="center">					
							<%@include file="NewsGroupProperties.jsp" %>					
							<tr>
								<td colspan="2">
									<html:button onclick="validateForm();" property="save">Guardar</html:button>
									<html:button property="cancel" onclick="cancelar();">Cancelar</html:button>
								</td>
							</tr>				
						</table>		
						<%-- Seteo del parametro para la accion --%>		
						<html:hidden property="do" value="saveNewsGroup"/>
					</html:form>
			</div>
			<br /><br /><br />
	
			<%@ include file="/jsp/includes/common-footer.jsp"%>
		</div>
	</body>
</html:html>